import 'package:json_annotation/json_annotation.dart';

part 'store_group_info.g.dart';

@JsonSerializable()
class StoreGroupInfo extends Object {
  @JsonKey(name: 'groupId')
  int groupId;

  @JsonKey(name: 'groupName')
  String groupName;

  @JsonKey(name: 'appletUrl')
  String appletUrl;

  @JsonKey(name: 'appId')
  String appId;

  @JsonKey(name: 'orgAppId')
  String orgAppId;

  @JsonKey(name: 'ctime')
  String ctime;

  @JsonKey(name: 'mchInfoId')
  int mchInfoId;

  @JsonKey(name: 'miniappTheme')
  String miniappTheme;

  @JsonKey(name: 'telPhone')
  String telPhone;

  StoreGroupInfo();

  factory StoreGroupInfo.fromJson(Map<String, dynamic> srcJson) => _$StoreGroupInfoFromJson(srcJson);

  Map<String, dynamic> toJson() => _$StoreGroupInfoToJson(this);
}
